create

fun create(permitsPerSecond: Double = 10.0, burstCapacity: Int = 10): Promise<RateLimiter>

Creates a new token-bucket rate limiter.